package com.orange.cetback.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author chenenjun
 * @since 2025-04-02
 */
@Getter
@Setter
@TableName("medal_level")
public class MedalLevel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "medal_id", type = IdType.AUTO)
    private Long medalId;

    /**
     * 勋章名称
     */
    private String medalName;

    /**
     * 勋章图标地址
     */
    private String medalIcon;

    /**
     * 所需积分
     */
    private Integer requiredIntegral;

    /**
     * 勋章描述
     */
    private String description;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private Boolean isGranted;
}
